package com.hckjsec.system.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import com.hckjsec.common.core.domain.entity.SysMenu;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.ArrayList;
import java.util.List;

/**
 * 公证事项对象 sys_matter
 * 
 * @author cyt
 * @date 2021-08-02
 */
public class SysMatter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单ID */
    private Long matterId;

    /** 事项编号 */
    @Excel(name = "事项编号")
    private String matterNumber;

    /** 菜单名称 */
    @Excel(name = "事项名称")
    private String matterName;

    /** 父事项ID */
    @Excel(name = "父事项ID")
    private Long parentId;

    /** 是否是子事项 */
    @Excel(name = "是否是子事项")
    private String ischildren;

    /** 事项分类 */
    @Excel(name = "事项分类")
    private String classification;

    /** 事项图标 */
    @Excel(name = "事项图标")
    private String mattericon;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbnail;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String rotation;

    /** 说明 */
    @Excel(name = "说明")
    private String remarks;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 子菜单 */
    private List<SysMenu> children = new ArrayList<SysMenu>();

    public void setMatterId(Long matterId) 
    {
        this.matterId = matterId;
    }

    public Long getMatterId() 
    {
        return matterId;
    }
    public void setMatterNumber(String matterNumber) 
    {
        this.matterNumber = matterNumber;
    }

    public String getMatterNumber() 
    {
        return matterNumber;
    }
    public void setMatterName(String matterName) 
    {
        this.matterName = matterName;
    }

    public String getMatterName() 
    {
        return matterName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setIschildren(String ischildren) 
    {
        this.ischildren = ischildren;
    }

    public String getIschildren() 
    {
        return ischildren;
    }
    public void setClassification(String classification) 
    {
        this.classification = classification;
    }

    public String getClassification() 
    {
        return classification;
    }
    public void setMattericon(String mattericon) 
    {
        this.mattericon = mattericon;
    }

    public String getMattericon() 
    {
        return mattericon;
    }
    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }
    public void setRotation(String rotation) 
    {
        this.rotation = rotation;
    }

    public String getRotation() 
    {
        return rotation;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public List<SysMenu> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenu> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("matterId", getMatterId())
            .append("matterNumber", getMatterNumber())
            .append("matterName", getMatterName())
            .append("parentId", getParentId())
            .append("ischildren", getIschildren())
            .append("classification", getClassification())
            .append("mattericon", getMattericon())
            .append("thumbnail", getThumbnail())
            .append("rotation", getRotation())
            .append("remarks", getRemarks())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
